package com.hornsun.domain.dbo;

import java.util.Date;

public class HealthIndex {
    private String memberGuid;//guid

    private Float heartRate;//心率

    private Float weight;//体重

    private Float minBloodPressure;//血压最低值

    private Float maxBloodPressure;//血压最高值

    private Float bloodSugar;//血糖

    private Date time;//提交时间

    public String getMemberGuid() {
        return memberGuid;
    }

    public void setMemberGuid(String memberGuid) {
        this.memberGuid = memberGuid == null ? null : memberGuid.trim();
    }

    public Float getHeartRate() {
        return heartRate;
    }

    public void setHeartRate(Float heartRate) {
        this.heartRate = heartRate;
    }

    public Float getWeight() {
        return weight;
    }

    public void setWeight(Float weight) {
        this.weight = weight;
    }

    public Float getMinBloodPressure() {
        return minBloodPressure;
    }

    public void setMinBloodPressure(Float minBloodPressure) {
        this.minBloodPressure = minBloodPressure;
    }

    public Float getMaxBloodPressure() {
        return maxBloodPressure;
    }

    public void setMaxBloodPressure(Float maxBloodPressure) {
        this.maxBloodPressure = maxBloodPressure;
    }

    public Float getBloodSugar() {
        return bloodSugar;
    }

    public void setBloodSugar(Float bloodSugar) {
        this.bloodSugar = bloodSugar;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", memberGuid=").append(memberGuid);
        sb.append(", heartRate=").append(heartRate);
        sb.append(", weight=").append(weight);
        sb.append(", minBloodPressure=").append(minBloodPressure);
        sb.append(", maxBloodPressure=").append(maxBloodPressure);
        sb.append(", bloodSugar=").append(bloodSugar);
        sb.append(", time=").append(time);
        sb.append("]");
        return sb.toString();
    }
}